package com.bookstore.service;

import com.bookstore.entity.Product;

import java.util.List;

public interface ProductService {
    int insert(Product product);

    int update(Product product);

    int delete(Long id);

    List<Product> queryAll();

    Product queryById(Long id);
}
